package com.muyu.danmo.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 用户关注对象 danmo_uawe_follow
 *
 * @author yangle
 * @date 2024-09-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoUaweFollow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 关注者id */
    @Excel(name = "关注者id")
    private Long followersId;

    /** 被关注者 */
    @Excel(name = "被关注者")
    private Long personsConcernId;
    private Integer pageNum = 1;
    private Integer pageSize = 10;
//    public void setId(Long id)
//    {
//        this.id = id;
//    }
//
//    public Long getId()
//    {
//        return id;
//    }
//    public void setFollowersId(Long followersId)
//    {
//        this.followersId = followersId;
//    }
//
//    public Long getFollowersId()
//    {
//        return followersId;
//    }
//    public void setPersonsConcernId(Long personsConcernId)
//    {
//        this.personsConcernId = personsConcernId;
//    }
//
//    public Long getPersonsConcernId()
//    {
//        return personsConcernId;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("followersId", getFollowersId())
            .append("personsConcernId", getPersonsConcernId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
